import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: "/profile",
    component: () => import('../views/profile/PersonInfo')
  },
  {
    path: "/category",
    component: () => import('../views/category/Blogs')
  },
  {
    path: "/collect",
    component: () => import('../views/collect/MyCollection')
  },
  {
    path: '/fans',
    component: () => import('../views/fans/Myfans')
  },
  {
    path: '/setting',
    component: () => import('../views/setting/SysSetting')
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router
